<?php 
 $form_attr = array('name'=>'signup',
 					'class'=>'form-inline pull-right font12',
 					'style'=>'padding-top:10px;');
 
 echo form_open('user/validate_user',$form_attr); 
 echo form_input(array('type'=>'text','name'=>'username','id'=>'username','class'=>'input-small','placeholder'=>'Username'));
 echo form_input(array('type'=>'password','name'=>'password','id'=>'password','class'=>'input-small','placeholder'=>'Password'));
 echo form_button(array('name'=>'submit','type'=>'submit','class'=>'btn btn-inverse','content'=>'Sign in'));
 echo form_close();
 
 ?>
